<include file="public@header" />
</head>

<body>
    <div class="wrap js-check-wrap">
        <ul class="nav nav-tabs">
            <li class="active">
                <a href="{:url('shop/order')}">{:lang('order_list')}</a>
            </li>
        </ul>
        <table class="table table-hover table-bordered">
            <thead>
                <tr>
                    <th width="50">ID</th>
                    <th width="150">{:lang('buy_user')}</th>
                    <th width="100">{:lang('buy_price')}</th>
                    <th width="100">{:lang('buy_count')}</th>
                    <th width="100">{:lang('buy_time')}</th>
                    <th width="100">{:lang('ACTIONS')}</th>
                </tr>
            </thead>
            <tbody>
                <foreach name="lists" item="vo">
                    <tr>
                        <td>{$vo.orderid}</td>
                        <td>{$vo.userid}</td>
                        <td>{$vo.pay_price}</td>
                        <td>{$vo.count}</td>
                        <td>{$vo.order_create_time|date='Y-m-d H:i:s',###}</td>
                        <td>
                            <if condition="$vo['order_status'] eq '1'">
                                购买成功
                            </if>
                        </td>
                    </tr>
                </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </div>
    <script src="__STATIC__/js/admin.js"></script>
</body>

</html>